started work on building multipart requests and added some tests