Added option to cache templates in run-tests.php