Add examples of hash inconsistency, with unit tests