created template class;
created test for template rendering.