Refactor pipelines recipe and tests

Signed-off-by: Mark Rushakoff <mrushakoff@pivotallabs.com>