Unit test for new excludeSubentities property.