Created a endpoint template for publishers

This means that all publishers will trace the found subscribers and that
will hopefully help us fix our flaky tests
Merge pull request #2314 from Particular/publisher-tracing-for-all-tests

Created a endpoint template for publishers