Additional iterator test
Fix reference and iterators
Fix exception methods