Fix tests in TemplateDedupingTests to use only Seq Trail

Fix missing apply method