Adding sudo to installation of test dependencies, for consistency with installation of main dependencies.