add tests for queue.size