Add some tests for the setHeaders/setQueryString methods