[TEST] Added index templates tests for broken mapping and invalid settings scenarios