Added a test to cover branch for source and destination files with
matching mimetypes.