Implemented updateMac for mode 'file_remove'.
Added test for updateMac on mode 'file_add'.