Fixed some tests by correcting insert_run signature