Added failing tests for #4.
Changed pipeline handling to fix #4.
Updated README to match the changed API.
Merge pull request #5 from jussi-kalliokoski/bugfix_4

Fix for #4.