Added tests for items per page