Added complete tests for ResetPassword email sending, removed default Class1.cs from project and wrapped actual dispatch of email in a try catch block.
Minor refactoring.