Fix unicode problem on template test
Since strings are already unicode by default in p3, unicode_escape was
causing double decoding. Also a broken test was preventing to discover
this fix