def test_render_template(self):
        descriptor = ItemFactory(category="pure", parent=self.course)
        html = get_preview_fragment(self.request, descriptor, {'element_id': 142}).content
        assert '<div id="142" ns="main">Testing the MakoService</div>' in html