Resolve #84 by adding support for 'write option mask ...' including unit tests.
Merge pull request #86 from jfallows/develop

Resolve #84 by adding support for 'write option mask ...' ...