[fix] Use options.query
[test] ensure that all header values are available