Add test for data_template