fix: validate queue listing limits in proxy

Adds the appropriate unit test to show that this works and keeps
working for the forseeable future.

Change-Id: I25d3ba3f9b1e3a51d8ba86171cd7329585c3e080
Closes-Bug: 1234481
Merge "fix: validate queue listing limits in proxy"