Add a test of serialization of lists.