add test code for SIGUSR1