Implemented serialization complex tests