The tests for this are in the server as it uses the REST client on itself.

