Refactor AssertSequenceEqual.test.