relay: fix tests