Initialize test plugin class using the event.