Add tests for the name category comparator.