templates / branches--on commit completion tests: make the $cur variable local to the test helper functions (eac9062)
   1: this is just to ensure the directory exists.