Add tests for min/max queue length