index: add tests around case switching We were missing tests for switching the case-sensitivity of an index in-memory and then looking up entries in it.