test api, events