generate.php further testing