Fixes sequencing bug in junit reporter
Merge pull request #41 from localmed/fix-xunit-reporter-cleanup

Fixes sequencing bug in junit reporter