Add tests for deprecated getHeaderString() and getRequestString() methods