testing seperaton of template file