Make tests work without using "this" to get the global object.