replacing assert..Equals with assertEqual

- deprecated in python3.3
- already done in python3 branch, redone here to more easily compare
  the python3 branch to master