I think this should fix issue #217
Merge branch 'master' into issue217
Added test for inner module variables
Merge branch 'master' into issue217
Merge pull request #326 from openscad/issue217

Issue217