DATAMONGO-410 - UpdateMapper does not consider custom write Target.

Added test to check conversion is properly applied for custom type.