Add tests for SignalHandlersStack