done test cases for queue command