adds html check to tests, fixes freemarker template allows specifiying
source as positional command line argument