chainlint: add test of pathological case which triggered false positive