Fix memory leaks in iterator_seek_test()

- Two documents were not freed.