refactor verify_queuestats and move to testutils
3 files changed