[SUITEDEV-2114] port tests from js: header key order, header value order, header value whitespaces