update delete_queue helper in tests