Bad index testing