Add some simple tests (targeting issue #2)

This adds a simple test to check for issues like #2.  It bumps the cabal-version to 1.8, but other than that doesn't introduce any dependencies.