Added tests for invalid emails and mixed case email