switch to new snap-testing library, and fixes for running in cabal sandbox