Fix the test parameter order

On assertEqual, the order of parameters should be (expected, observed).
This patch fixes this  this problem.

Partially Close-bug: #1277104

Change-Id: Ia08e8799b76f543f8e5c3be746aa03e44f419a9e
Merge "Fix the test parameter order"