Move server to testserver.js