Python 3.3 got mock
assertEquals is deprecated in favor of assertEqual
Merge pull request #1110 from tshepang/deprecated

replace Deprecated method; use unittest.mock when available