queue test cases