fix batch tests
diff --git a/tests/info.txt b/tests/info.txt
index 2b2e21d..3988c7c 100644
--- a/tests/info.txt
+++ b/tests/info.txt
@@ -1,4 +1,4 @@
-*FAIL 70 / 75 odata-batch-functional-tests.html
+*OK 115 / 125 odata-batch-functional-tests.html
*OK 904 / 904 odata-cache-filter-functional-tests.html
*OK 12 / 12 odata-cache-fperf-tests.html
*OK 1062 / 1062 odata-cache-functional-tests.html
@@ -6,13 +6,13 @@
*OK odata-fuzz.html
*OK 1 / 1 odata-json-parse-tests.html
*OK 16 / 16 odata-links-functional-tests.html
-FAIL 23 / 52 odata-metadata-awareness-functional-tests.html ----> Tests 1-6 OK; Tests 7-27 are using old __metadata
-*OK 36 / 36 odata-perf-tests.html ------> calls to nexflix defect --> removed
+FAIL 23 / 52 odata-metadata-awareness-functional-tests.html ----> Tests 1-6 OK; Accepted: Tests 7-27 are using old __metadata
+*OK 36 / 36 odata-perf-tests.html
*OK 975 / 975 odata-qunit-tests.htm
-FAIL 0 / 31 odata-read-crossdomain-functional-tests.html ---->calls to odatasampleservices.azurewebsites.net fail
+FAIL 0 / 31 odata-read-crossdomain-functional-tests.html ----> Accepted: calls to odatasampleservices.azurewebsites.net fail
*OK 124/124 odata-read-functional-tests.html
*OK 52/ 52 odata-request-functional-tests.html
-*OK 41/ 42 odatajs-cache-large-collection-functional-tests.html ------> one timeout on server side
-FAIL odatajs-cache-long-haul-tests.html -------> Uses netflix
+*OK 41/ 42 odatajs-cache-large-collection-functional-tests.html ------> Accepted: one timeout on server side, no bug on client side
+FAIL odatajs-cache-long-haul-tests.html -------> Accepted: uses netflix
*OK 1/ 1 odatajs-startup-perf-test.html
?? test-manager.html
diff --git a/tests/odata-batch-functional-tests.js b/tests/odata-batch-functional-tests.js
index bfe3274..24b7fde 100644
--- a/tests/odata-batch-functional-tests.js
+++ b/tests/odata-batch-functional-tests.js
@@ -106,6 +106,7 @@
var cloneHeadersWithContentId = function (mimeHeaders, count) {
var headers = djstest.clone(mimeHeaders);
+ if (!headers) { headers = {} };
headers["Content-ID"] = count;
return headers;
};