Invalid number of indexes tests