testing REST services