allow "cabal test"

previously, running "cabal test" would fail because it would send
test-specific arguments to Setup.hs, which would forward them to "cabal
install", which would not be able to understand them.