Testing Rest Apis