Added unit tests: update_share()