Fix order of arguments in assertEqual

Some tests used incorrect order assertEqual(observed, expected).

The correct order expected by testtools is
assertEqual(expected, observed).

Change-Id: I87f90b9fefbf39e92446d7724e7b8e457e114716
Partial-Bug: #1259292
Merge "Fix order of arguments in assertEqual"