Add dependency version check.
Add testing stub for SubRecords.

cabal test works with the 'not implemented' test,
but building the tests fails at link when the SubRecord
is used.
May need to be split into library, tool, and tests.