added test for password_digest