Added test for current page in middle of page list