True if the pubspec.yaml has the test dependency.
bool pubspecYamlSupportsTest(Map map) { return pubspecYamlHasAnyDependencies(map, ['test']); }