Adding test main for template instantiation.