survive a normal term signal. added test case