Only inject tests dependencies for the packages being tested