fixed SnakListTest::testToArrayRoundtrip

Change-Id: Ib92e813f389d666563a953f6d5b5be01216a82d2