Add a test about updating  an array