Adding basic test for password hashing.