Throw if data input to toDPT does not meet minimum data type width.

This enforces behaviour of setData according to documentation in base
type, which throws rather than log an error. Correct unit test.