Change from expect.js to chai
Use supertest instead of request for testing api endpoints
remove a no longer used variable