fixing negative color rule test detection