test for getting content from template