Add unit tests for multipart parsing