assertEquals is deprecated, use assertEqual

assertEquals is deprecated in Python 2.7 , need drop it
http://docs.python.org/2/library/unittest.html#deprecated-aliases

Change-Id: I05061251efe1ea840dd9741d254babcf0f565068
Merge "assertEquals is deprecated, use assertEqual"