CN comparator methods and tests