Object serialization + Unit Test.