created test for PipelineExecutor and refactored to better separate concerns
added test for the Mojo class