add trace based events in test file