Fixed sign in tests
Fixed all tests, added test for mailer