path bug in testing plugin