Fixed missing publishToEndpoint in PublishService
More test resources