Replace deprecated method aliases in tests

Some of the TestCase methods have been deprecated since python 2.7.
We need use correct names.

http://docs.python.org/2/library/unittest.html#deprecated-aliases

* replace 'assertEquals' with 'assertEqual'

Change-Id: I6c3a569ebaeac0d85b0a6fe2c24f183d8d157663
Merge "Replace deprecated method aliases in tests"