fix bug
add test case to deque