Function only has one tmpl parameter
varioux fixes for tests