Replace assertEquals with assertEqual

The reason behind this is the fact that assertEquals is deprecated in Python 3