Created 2008 test which verifies ROW_NUMBER-based pagination and fixed some related bugs to get that passing