working on emails. Trying to write a test for the new endpoint I created, but supertest is not working nicely with restify.