Pipe controller and integration tests