Added tests with mocha and supertest