add validation tests in WinnowHash fromJSON