relay: add more tests
relay: add missing files