regression unit test for getServicesByOwningEntityId