Added tests for Deque.