Fix run-tests.sh and teach it to run only a certain number of tests