removed; hasOwnProperty check in each for nullary objects
added test for nullary object iteration
Merge pull request #1006 from wavded/patch-1

removed; hasOwnProperty check in each for nullary objects