implemented integration test for reset pwd

Also - fixed spec host error by adding
config.action_mailer.default_url_options = { host: 'localhost:3000'} to
config/environ/test file