Refactored setup and teardown of xl test case executions.