change assertEquals to assertEqual

According to http://docs.python.org/2/library/unittest.html
assertEquals is a deprecated alias of assertEqual.

Change-Id: Id9ca3fd508396c202d658b224ca1e67f1a5e361c