Fix parsing method for templates passed as a scalar reference.
Adjust HTML output in container tests.