Fix test build failures due to QuickCheck

This, in combination with #3 and #6, will hopefully fix the build with multiple versions of GHC on Travis CI.