According to the first line, you need to name the template "test". If you name it anything else, then it won't work. So, I think Mark corrected the template name on one line, but not the other. Both of those should be the same.
I have always used one name for the script, and then other names for the templates rendered by the script. As long as the templates are specified in the $globaltemplates array, then they can be rendered without issue, at least that's been my experience.
For example, here's a very simple script I coded a while back for someone:
PHP Code:
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################