Fix typo in unused test code

I assume it is unused because otherwise this would've been fixed long
ago, right?
Unused import
Fix undefined name

Fixes https://github.com/zopefoundation/zope.pagetemplate/issues/2