added test for #361, indent problem in script

also see #608, a contaminated pull request that we are replacing.

FYI: The print statement isn't technically needed as the (out, err) will be presented if the assertion fails. Not a problem, though