refinements to generated test files