test for template method without @Method annotation