changed relativePath arg to pluginName and updated test