shorten supertest code