placate ghc 7.6 and fix up the test deps