Add tests for `.get_line_template()`.