improve test for index extension truncation
Merge pull request #1626 from ethomson/index_ext_truncation

improve test for index extension truncation