finish transformId and normalizeId unit tests
overload createPipeline to take just an array and refactor amd require pipeline to use it