test with relay