Script for updating the cpp file

update the cpp file that runs tests by collecting all the header files
and using the cxxtestgen compile option with them.