signal must reset if SIG_DFL (with tests)