The last puzzle piece - REST webservice tests.

Ideally all the clients should be tested here, for regressions.