update writing tests part
minor fixes
Merge pull request #6 from nilxam/docs_write_test

update writing tests part