Fixed packaging and using tox for testing

Using builtin mock in Python >= 3.3