Added a unit test and covered the other case (not used) where you might be trying to update the index zero of a list