Test for forward_iterator