Change tests to use a pipe instead of SIGALRM so it might work on Windows