Add tests for direct execution of server.js