Add sudo use to qdel and add a test