Updated testcase to match semantics change in the TraceCollector class.