Add events when tests finish