Test of iterator and layer reset.