add runTests.py, this runs an application 'test' N times