Started implementing tests

Using mock, downloaded from PyPI.  Still working out the specifics of
mocking