add test for sequence iterator
closes #2