add test and fix posing as instantiating class for pipes