Fixed test_template_to_table.