This allows us to make test-only dependencies optional in builds that aren't running tests (sadly all of our builds).