testing events for transition end