MDL-40987, Adding rapaginate class and its unittest