Fixed W.Math.map. Added some W.Math tests.