Add user edit test spec.

Currently failing as no changes are detected on the file.
Add mock editor program.

So that tests that edit documents can force a change in the file
contents.
0.1.16