Added multipart tests
Added tests, fixed multiple cookie bug