Added a test and updated function to select puppet repo and define filters on puppet modules