Fixing tests after deleteQueue change