Add pagination with tests
Fix failing tests, now due to pagination I cannot simply iterate over all the posts in the tests, but only over the top most 5 by create time