Fixed index in tests