Fix loggers in example script.
Update test template and examples.