improve pipe return tests, add return assign test