Add test case for Object.prototype.preventExtensions.

Please take a look.
ES6 draft link: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.preventextensions