[NOBTS]

added lifecycle firing for worker thread running. If we didn't add it,
maybe there will be problems if there are 2 tests in one script.
Added a test report header in worker thread lifecycle, but it is printed
after the report.
Modified MyTest.groovy, to simulate it has 2 tests, before the test is
run 2 times in to test function.