Added tests for iterator and const_iterator API