added empty_rows, infix iterator, and associated tests