some extra testing, hardening on regions, nested modules etc. this completes and fixes #16