fixed a test case that could produce different traces.