Test for request_cancel + fix discovered token deletion bug