Added negative test for writing with bad approximation.  #202
Merge branch 'issue202' into devel