change assertEquals to assertEqual

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

Change-Id: I905d1bd9d3f1273c9724df6d6a36c53772e1a8ed
Merge "change assertEquals to assertEqual"