[ticket/12661] Add template test

PHPBB3-12661