fix templates for testdata (only syntax, not full behavior