more deque tests and deque test fix