Improve test suite in go/hamming