a unit test of ecmascript harmony