change assertEquals to assertEqual

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

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