Fix template arg visitor to report errrors
Make it possible to set paths in the testSelector file