add document iterator test