Fixing queue tests