Move missing .php extension logic to loadTest