test removal of index