T36019 / Add RecordTypeQueryTest::testRecordsToContainFieldComparator

Relates to https://phabricator.wikimedia.org/T36019