Extended unittest.

to demonstrate using an opDispatch type with Variant.