actually call hamming distance method in specs