'Make sure that all parameters extracted correctly from xml.'

def test_word_cloud_constructor(self):

    fragment = self.runtime.render(self.item_descriptor, STUDENT_VIEW)
    expected_context = {'ajax_url': self.item_descriptor.xmodule_runtime.ajax_url, 'display_name': self.item_descriptor.display_name, 'instructions': self.item_descriptor.instructions, 'element_class': self.item_descriptor.location.category, 'element_id': self.item_descriptor.location.html_id(), 'num_inputs': 5, 'submitted': False}
    self.assertEqual(fragment.content, self.runtime.render_template('word_cloud.html', expected_context))
