Replaced mockery with rewire.
Merge pull request #7 from Raynos/cleaner-tests

Replaced mockery with rewire