- Added OC.Upload.init() to make the code testable - Added unit tests for the add() method of the uploader with some error cases