testing api pagination