IndexImpl unit tests