Add files for testing text templates.
Genericalize tests for HtmlView for re-use on other types.
Don't new empty template when creating HtmlView the first time.
TextView implementation.