Checking for transactions in the dataset instead of tracking in boolean. Updated tests to use new tdb dataset.