corrected test results such that they didnt depend on deterministic execution (random seed change)
step 1 towards fixing #284 and 274, this is the core part of it. GUI is missing.