I think these tests would be easier to read if we just put the entire (minimal) yaml in the test method. The relationship of the indentation with the yaml in the template file is quite subtle here.

But no strong feelings. Happy to merge as-is for this.