Added 'test_indices' option so GUI works for it