add endpoint for checking queue lengths
ZD exception test: functional => unit