Totally refactored the unittest in preparation for sparkplug library v2.0.0.0.0
moved unit test to branch so it can be brought up to speed with the trunk library