Fix a subtle bug in the convertor where the lb of the datatype
can be added twice (for partially packed datatypes). Thanks to
the Fujitsu's MPI development team for the bug report and the
patch.
Add a resized datatype to the test. Implement generic
data corectness for most of the conversion functions.