Add check for deprecated method assertEquals

More details in https://review.openstack.org/#/c/35962/

Change-Id: Ib3b642457d283b31902f0738b1d0164f1b15f3e2
Merge "Add check for deprecated method assertEquals"