debug flat_hash algorithm when keys are inconsistents (new test)