function testConversion(assert, sXmlSnippet, oExpected, oExpectedNoAnnotations) {
		var oXML = xml(assert, sEdmx + sXmlSnippet + "</edmx:Edmx>"),
			oResult = new _V4MetadataConverter().convertXMLMetadata(oXML);

		oExpected.$Version = "4.0";
		assert.deepEqual(oResult, oExpected);

		if (oExpectedNoAnnotations || oExpected["foo."] && oExpected["foo."].$Annotations) {
			// ignoreAnnotationsFromMetadata
			oResult = new _V4MetadataConverter().convertXMLMetadata(oXML, "n/a", true);

			if (oExpectedNoAnnotations) {
				oExpectedNoAnnotations.$Version = "4.0";
			} else {
				oExpected["foo."].$Annotations = {};
			}
			assert.deepEqual(oResult, oExpectedNoAnnotations || oExpected);
		}
	}
Tests the conversion of the given XML snippet.
@param {object} assert
  QUnit's assert
@param {string} sXmlSnippet
  the XML snippet; it will be inserted below an <Edmx> element
@param {object} oExpected
  the expected JSON object
@param {object} [oExpectedNoAnnotations]
  the expected JSON object w/o annotations (for tests with "ignoreAnnotationsFromMetadata",
  so to say)