cleaning up code by distinguishing modeTestDummy from modeTestFail
cleaning up code by distinguishing modeTestDummy from modeTestFail