#15 Generating test cases for update method