Account for NULL struct members

And test object iteration