Fix debug tracing tests.