Added test for user defined type.

Stylistic nitpick: can you make this a `m_value` rather than `value_` for consistency with the rest of tinyformat.