added additional deque() and length() test