Added test for deleting an array index