Added test for fancy pipeline interface.

* Also added kwargs to run pipeline.