testing signal handlers