test activity_listener