ticket:15 added test for template