Fixed isTestingMode