moved run_tests