Fix Setup and TearDown locations in test:- Moved Setup and TearDown overrides to the top of test file documents for cleanups that are already performedWTI-1767
Improved testhelper:- Also return the configured failure mechanism instead of retrieving it from the calling side-- Applied on the calling sides- Updated XMLDocWTI-1842