Adds another unit test to verify that polymorphic record queries return subsets when performed on the subclasses.