Added a very time-consuming test for tables.

This is also memory-hungry, using somewhere near 100MB.
It turns out that, as of this commit, tables are unstable and introduce distortion for large indices
and/or obtaining large ranges; this test catches both.