Why not using a sinon stub for this?
```js
this.req.query = sinon.stub().returns({
  nested: {
    foo: '...'
  }
});
```