Added test case to verify mixed cased emails are saved to the database as lowercase