Basic example of how to use the REST test function.