template manager tests