publisher tests

Signed-off-by: Mikolaj Szabo <savingprivateblue@gmail.com>