Added WriteInnerListTest.