Add instrumented files to .gitignore.
Move tests into test.js.
Add test for write before open.
Improve test.