tests for Dequeue