Fixed PartTemplateResource unit test.