Fix hash test.