Added test for SignalHandler.