better tests for queues