relay: make tests pass