Use unittest.mock because mocker does not work in python 3.4
Merge pull request #1 from tomekp/master

Use unittest.mock because mocker does not work in python 3.4