Sm rest

Swaps out custom multipart code to rely on request's multipart code.Adds additional integration specs.