Simple pagination added with test