Adding test for paging and sorting repository