basic test cases for kill() and alarm().
kill() in particular needs more test cases for full coverage. The search for a thread interested in this signal has a lot of paths.