Added Diff TE and related tests.