fix deleting test indices