Add test for objects
Restore objects by Marshal dump/load