Write more tests for passwords and emails