def METHOD_NAME(self):
    """
    To ensure that extract_case_blocks processes date_modified when passed
    as datetime.datetime object using XFormInstance.objects.get_form and
    form_data when at validate_phone_datetime
    """
    xml_data = self.get_xml('create')
    final_xml = self._formatXForm(CREATE_XFORM_ID, xml_data, {})
    result = submit_form_locally(
        final_xml,
        TEST_DOMAIN_NAME,
        attachments={},
        last_sync_token=None,
        received_on=None
    )
    xform = XFormInstance.objects.get_form(result.xform.get_id, TEST_DOMAIN_NAME)
    extract_case_blocks(xform.form_data)