unit test for Queue Statistics
solved merge coflicts
correct method names
Merge pull request #3348 from hasancelik/test/QueuStats

unit test for Queue Statistics