Add test for pipeline errors, fix error so found

Signed-off-by: Rick Copeland <rick@arborian.com>
Rework .result api a bit

Signed-off-by: Rick Copeland <rick@arborian.com>