Fix Iterator#getIndex returns private var idx
Vector#end returns one past the end of the internal array
Add tests for Vector traversal with Iterators