Adding mocha tests server side