Addresses issue #9, Refactoring of test_freshdata.py

Reorganization of test case classes, refactoring of assertions to use `nose.tools` assertions, using `Mock` object to test `ping()` method, merging with upstream changes