Added some tests on the control files (permissions, line endings, variable substitution)