test: add a test for a repeater and a global pipe

Fixes #281