Convert unit tests over to assertListEqual where possible.

It makes determining what's wrong easier since it has a diff-style
output.  Also put the expected list first, so the diff style makes sense.