Don't want to re-dredge this up (there was a lot of discussion about how to handle these things over on the main PR), but couldn't help but wonder if we might be able to add in an option to setupForTesting that magically does emq.globalize() and setResolver(App.__container__), if you, say pass in "views: true" or something like that. Probably impossible. It'd be nice to reduce these four lines down to just that one setupForTesting, if at all possible tho I realise it may be impossible to get rid of emq.globalize();