Tests for refactoring of the tracing infrastructure.