Add test case for Object.prototype.freeze.

Please take a look.
Maybe it’s better to use the ES6 draft link?