Added additional tests for Template class.