Update tests
Fix bug on resizing Deque