Fix `assert_called` usage for Python 3.5 build
Fix `assert_called` usage for Python 3.5 build

The `assert_called` method seems to invoke a bug caused by a type in the
unittest mock module. (The bug was ultimately tracked and fix here:
https://bugs.python.org/issue24656)

prkumar/uplink