Add more unit test for CompareQueue