Prototype of the wmean2D test script.