added unit tests to the execution pipline
gives over 80% code coverage