Added TemplatesApi unit tests

Why the type has been removed? We should be checking it.