spec helper to test the web service