DequeTest improved