Modified test_isntall_signal_handlers