Event API changes and event provider tests