add test case for Hasher interface

if key implements Hasher interface, then will use Hasher.Equals(v2
interface{}) method to check if key equals