runs with randomly generated search space and performance values for running a test in function runTest.