test the contents of the generated module and script
delay file generation until prereqs are available: restores -also section

(and closes RT#76496)