Add DataRebuilderTest

- testRebuildAllWithoutOptions
- testRebuildAllWithFullDelete
- testRebuildSelectedPagesWithQueryOption
- testRebuildSelectedPagesWithPageOption