Correct order of arguments in assertEquals

Expected should come before actual, so that test failure output
is more sensible.

Change-Id: I0d0503fb7a4ac85048b59f0f9b535807a5224074