using supertest to mock HTTP requests