Added regression tests (ported from tart-tracing)