Add num_tests to other scripts.