* add test cases for serialization