Tests for the web service