Add matchers and/or function
Add unit test for writer