The pipline from input to output should be tested in a way that the service and the library is tested.