XWIKI-10627: Failing to compute email subject from a template

Change functional test to use template to create email