Added a few more unit tests for our new signal handlers.