Fix for bug in Object.defineProperty and defineProperties.

there was no value returned from the function as expedted.
Added tests too.