Fix parsing of test event.