[opwig] updated wrappergenerator unit test to use new interface