Added tests for the password reset funtion following railscast 275