Switch tests to test-framework / exitcode.

This seems to have fewer dependencies.  The mix of cabal-install 1.20
with the 2013 platform could not compile the detailed 0.9 test suite
unless a newer Cabal library was added to the sandbox.  The new
tests require less setup.