Comply with new hacking requirements

With new hacking>=0.8.0,<0.9 requirements, some functions are
now deprecated.

assertEquals -> assertEqual
assertNotEquals -> assertNotEqual
assert_ -> assertTrue

Change-Id: If666b68e6af5fcb9565f10c645b4e13dca16a141
Merge "Comply with new hacking requirements"