add test for serialization method alias