Test battery: fix xxdiff dependency

Tests were requiring xxdiff to be installed. This fixes the problem, and
allows developers to configure their favourite `difftool` when running
the test battery. The default is to print a unified diff to STDERR.
Merge pull request #1457 from matthewrmshin/fix-t-xxdiff

Test battery: fix xxdiff dependency