Extend setupGlobals test helper to allow setting globals in test
Extend setupGlobals test helper to allow setting globals in test

Return a helper function that can be used to define globals in the
context of a test instead of having to define everything when calling
`setupGlobals`.

codevise/pageflow,codevise/pageflow,tf/pageflow,codevise/pageflow,tf/pageflow,codevise/pageflow,tf/pageflow,tf/pageflow