explicit test for RIOTripleIterator
use an Exchanger to avoid unnecessary Thread wait()