hash code test