now that all the logic for dealing with the context is inside rest.go, we should test only in those terms; i.e. if I call PopulateRestContext(..) with these parameters, then it has this effect (i.e. we don't expect users to directly use the context, so the tests should talk only in terms of the functions the user of this module is expected to use - PopulateRestContext, not PutString)