silence deprecation warnings on py3k: renamed "assertEquals" to "assertEqual"

When running tests under Py3k, these deprecation warnings appear:

    DeprecationWarning: Please use assertEqual instead.

This PR accounts for that.