added test for #361, indent problem in script

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