Correctly reset signal handling in tests