Expands its test to test all possible ring indexes, though just 0 and a single n would be sufficient.