add has_iterator_test.cpp
fix typo