Better test case for hash_password