change assertEquals to assertEqual

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

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