Make some dependencies 'test' scope.