'Verify that
* label is extracted
* <label> tag is removed to avoid duplication
This is the case when we have a problem with single question or
problem with multiple-questions separated as per the new format.'

@ddt.unpack
@ddt.data({'question': 'Select    the    correct    synonym    of    paranoid?'}, {'question': 'Select    the    correct    <em>synonym</em>    of    <strong>paranoid</strong>?'})
def test_label_and_description_inside_responsetype(self, question):

    xml = '\n                                <problem>\n                                                <choiceresponse>\n                                                                <label>{question}</label>\n                                                                <description>Only    the    paranoid    survive.</description>\n                                                                <checkboxgroup>\n                                                                                <choice    correct="true">over-suspicious</choice>\n                                                                                <choice    correct="false">funny</choice>\n                                                                </checkboxgroup>\n                                                </choiceresponse>\n                                </problem>\n                                '.format(question=question)
    problem = new_loncapa_problem(xml)
    self.assertEqual(problem.problem_data, {'1_2_1': {'label': question, 'descriptions': {'description_1_1_1': 'Only    the    paranoid    survive.'}}})
    self.assertEqual(len(problem.tree.xpath('//label')), 0)
