Replace assertEquals with assertEqual

To comply with the new hacking>=0.8.0,<0.9 requirements,
assertEqual is used instead of assertEquals which has been deprecated,
giving the error H234.

Change-Id: I96a52d8edc83dc6628ef4e2155649c1f3b2d2f99