added function to run test program inside testSuite