Add signal handler tests