extended tests, found template error, fixed error refs #200