fix test_cases:trace