Tests for paginating tables and arrays