index adding test