Added test for updateMac reurn type.
Implemented function updateMac for testing return type.
Added test for updateMac mode 'file_remove'.