update implement test with events