return range from AsyncIO::cancel(), fix test