implemented first simple Mocha unit test for REST API