Add more test cases to make sure that we did not corrupt the index.