Fixed test, loop bugs in runExperimentDefault