Update test-cases for serialization (closes #237).