Testing java upload