Add test case which confirm prototype chain

Please take a look.

Object.prototype.hasOwnProperty does not consider objects in the prototype chain.