add a test to serialize a root array