Fix mysql test

recator topics controller to be inline with topical events

refactor the published_in_topic calls so they can be removed later.

This is that topical events do.