Refactored MultipartDecoder tests.

* Simplified version check code.
* Refactored tests with asserts using `all` to use iterators and for general clarity.