Extend test to check that -D flags do not leak across module boundaries.