change assertEquals to assertEqual

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

Change-Id: I5351049bd6104d315ae0c5a87f7b8e2618a69bfe