test for relay agent