Added tests for the UserMailer:
Implemented changes recommended to rails best practices