add test for mixed case email addresses and refactor user_spec.rb