test upload to local