completed test cases for Queue