Unit test for adding a a template to a schema.