Improve tests for User model

Tests to show a potential flaw if not saving emails in lowercase.