add tests and documentation for using an optional context (to override the context of the view in which the panel is called) as argument in calling a panel