Added Unit Test for the paging