test removing index