Further extended evolaemp test script, needs some refactoring.