test for 'hasOwnProperty'