Modified doctest to work with py3
Removing tuple unpack in function arguments