FLUID-5559: Fix and test case for double firing of onTestCaseStart corrupting IoC state