Move check script to run_tests.sh