add file writer test assertions
Merge pull request #11 from cbyn/alex

add file writer test assertions