add tests for invalid emails