ok i'm using drupa 7 too
you must add a new $vars['test'] in the precess_print function
or maybe you can decalare any vaiables in template.php inside your_theme_preprocess_page function and call it in template/youtempate.tpl.php
that's the way that i use maybe you can find something better