add failing hasOwnProperty test
add proto restoration. Closes #61