added real tests for FileStream
fixed TOC docs
added TemplateMethod and simple tests