adding tests for emails