Working version of intial tests template Deque.