testing for ownProperty on objects