Add test for downcasing of user emails and stricter RegExp for email format