Fix hash key test