Used QueryJ Template Packaging to generate the (most of) PerTableTemplatesTest files for me (created the stg and stg.def temporarily in queryj-templates and moved them afterwards to queryj-template-packaging-maven-pluging). refs #422