[opwig] Making proxy generator test code reusable.
[opwig] Testing proxy generator multiplicity.