tests for templateToFragment and convertPartials