Implement unit tests for write invalid type jsondict issue.
Implement unit tests for write invalid type jsondict issue.

An attempt to store a value with not-json-encodable type to the JSONDict
will raise an encoding related Exception, but also overwrite the
existing job document unless write_concern is enabled.

csadorf/signac,csadorf/signac