XD-1488: Add test for module environment insulation