Add test for RelayState.