Added integration tests for rebuilding the indexes, and last table pkey and object.
Pause and resume index rebuild operation.