Added test for Deque interface