Mocha server tests