tests for newListener event