Fix run_tests