Add breaking test for the index calculation (#552)