tests.rs: update for iterator methods rename