Modified test-server.sh to trap when it receives SIGINT.