Some tests used incorrect order assertEqual(observed, expected).
The correct order expected by testtools is
assertEqual(expected, observed).
This patch includes roughly half of the files touched by these changes
(up to and including test_m* sans contrib code) to ease the review.
Partial-Bug: #1259292
Change-Id: I44bff827c7c50726d48aa649b7685712a233ee62