Fix compile dependency versus test compile

All dependencies where previously marked as compile time dependencies
Now the test dependencies are only marked as testCompile.
Still haven't fixed the contrib compile dependencies