added test for model update

please review it
thanks
Better to s/model/result