add a SimRunner prepare_for_test and run_test function