ref(publisher): supply unit tests