Fix queue unit test