Adding pagination, default is first 10 element (offset=0). Missing tests.