(test) added file write spec
Merge pull request #16 from jimobrien/feat/bufferedwriter

(test) added file write & stdout stream spec