Fix test dependencies.