Fix queue tests.