rest client tests added