add Mocha unit test (server)