Changed how testng results are created.

Hopefully now jenkins will be able to parse the test result data.