setup basic public API tests with mocha