Fix pipeline tasks and tests.