added unit test for paging - AEROGEAR-785