test(macUploadFiles): Added tests