Correct use of supertest