iterators: Added test for input and stream iterators.