test with 'hasOwnProperty' from Object.prototype