Refactor SchemaManagerTest
Always delete unmapped indexes when updating schema (fixes #519)