add test template class program