Replace assertEquals with assertEqual

The method assertEquals has been deprecated since python 2.7.
http://docs.python.org/2/library/unittest.html#deprecated-aliases

Also in Python 3, a deprecated warning is raised when using assertEquals.

Change-Id: I667e41df786c842ecffc6920b80319fd8b3487a3
Merge "Replace assertEquals with assertEqual"