wrote unit tests which supertest and should