Fail if errors found in ParseFileResults
Fix failing tests

Use an underlying script file to avoid parsing errors if there is no
module declaration.