Added test for Model#update method