added a REST test