Relay test added, simulates with expected output.