Add Rect clipping tests, first working version of page_to_tables