Image cache tests: ensure that assertEquals has expected param first

Update the tests to ensure that the expected parameter is first.

TrivialFix

Change-Id: I5a860d7a217f69bc1d5e7e0e470e724e62a69372
Merge "Image cache tests: ensure that assertEquals has expected param first"