Fix tests when it comes to async rabbit publishing