(test) Added new tests for created files.
(bug) Fixed unnecessary global for jshint.