refactored to generalize mock tests functionality into a common tests functionality
Merge pull request #21 from newtechfellas/generalizing-tests-functionality

refactored to generalize mock tests functionality into a common tests fu...