Replace deprecated method assertEquals

TestCase.assertEquals is deprecated since Python 2.7, so need use new
method name assertEqual.
See http://docs.python.org/2/library/unittest.html#deprecated-aliases

Change-Id: Iae9074f2afe2a572b60f6192aa6c871db42360ec
Merge "Replace deprecated method assertEquals"