Added Check.CompareOperators and a test for it