templates / branches--on commit test-lib: Let tests specify commands to be run at end of test (3bf7886)
   1: this is just to ensure the directory exists.