Added tests for the Queue.