Use postfix increment operator for iterator in test