change assertEquals to assertEqual

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

Change-Id: I3cc6390ed7b5e09725bf7a46a93aacf89811b809