completely re-worked test simulation in file called ExperimentTest.java