MDL-43089, added more unittest to repaginate