Rename test_server.js.
Factor some common bash utilities and call them from pull.sh.