Completed some minor refactoring of the data processor base class. Also added unit tests for the assertion and contract exception classes