test listener or subscriber