Makefile: rename test1 rule to testmain
Makefile: add testfilehelper