removed all traces of tDiff. added a test for isdirty.