Queue delete test improvement