Changes getState() to public in Relay.h; corresponding change in relay_test