#31 Test password hash returns correct object
#31 Fixed spelling mistake
#31 Corrected error message
#31 Returning correct error messages
#31 New tests for password hash