Stubbing State and Pagination