Stuck with how to resolve this problem (Global context testing)

I think I may start a new thread.

Alas things are not working here as I would like.