sub-entity test