add pipeline to metro
Tests plus fixes