Fixed Travis errors for the ServerTests.js file