added basic REST test