Add unit test for update(): File has changed.