implement withdraw and refactor funding integration tests to use pipelines