relay: fix tests passing