Ensure client accepts gzip encoding

Also, removed superfluous `test` option.