Redmine#1900: test basic template and trailing newline
Merge pull request #1300 from tzz/test/readmine1900-cftemplate-newlines

Redmine#1900: test basic template and trailing newline