add command line in console app to re-run test case