Add test case for Object.prototype.preventExtensions.

Please take a look.
It’s `Object.preventExtensions`, not `Object.prototype.preventExtensions`.