Duplicate the unit tests for Trace/Direct