tests: add some asserts on iterator initialization.