Adding restful call test code.