`current` is supposed to return `null` "if the iterator has been moved after the last element of the Iterable." according to [the docs](https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart-core.Iterator#id_current). This doesn't seem to be the case here. We should also test for that.