Fix logging problem in supertest