Added passing test to the pagination feature