use httmultiparty to upload image  #6
fix tests #6