[test] check iterator interface in yaspgrid