Relay test program, ironicly untested as of Jun 3rd 2014