Updated index tests to incorporate index-metadata changes.