updating the mocha test

still looking for the server api path and testing