Update tests for new serialization methods