Make JUnitExecutor API backword compatible