Replaced dependency on server.js for mocha tests.