Adds spec for password change
Refactors test suite