added test for email lowercasing