move contents of run_sim_state into SimRunner run_test function