tests: get the templates tests passing