Tested the REST calls