tests for email