Unit test extension for context classes

Extend existing unit tests to cover the
content of the context classes as they are
passed to the services in the callback
functions.