function checkDataEvents() {
			assert.strictEqual(iDataRequestedCount, iExpectedEventCount, "dataRequested");
			assert.strictEqual(iDataReceivedCount, iExpectedEventCount, "dataReceived");
			iDataRequestedCount = iDataReceivedCount = iExpectedEventCount = 0;
		}
******************************************************************************************
	// Scenario:
	// Refresh a kept-alive context that is part of the collection (B2). After refresh this context
	// is in the collection (A2).
	// JIRA: CPOUI5ODATAV4-366
	QUnit.test("CPOUI5ODATAV4-366: Context#refresh on a context that is in the collection"
			+ "; after refresh that context is in the collection", function (assert) {
		var that = this;

		return this.createKeepAliveScenario(assert, false).then(function (oKeptContext) {
			that.expectRequest({
					batchNo : 3,
					url : "SalesOrderList?$filter=SalesOrderID eq '1'"
						+ "&$select=GrossAmount,Note,SalesOrderID"
				}, {
					value : [{GrossAmount : "140", Note : "After refresh", SalesOrderID : "1"}]
				})
				.expectRequest({
					batchNo : 3,
					url : "SalesOrderList?$filter=(GrossAmount le 150) and SalesOrderID eq '1'"
						+ "&$count=true&$top=0"
				}, {
					"@odata.count" : "1",
					value : []
				})
				.expectChange("objectPageGrossAmount", "140.00")
				.expectChange("objectPageNote", "After refresh")
				.expectChange("grossAmount", ["140.00"])
				.expectRequest({
					batchNo : 4,
					url : "SalesOrderList('1')/SO_2_SOITEM"
						+ "?$select=ItemPosition,SalesOrderID&$skip=0&$top=100"
				}, {
					value : [/*does not matter