Write routine to send all existing tests to REST API