mock the commanduploader call to fix tests