Make unit tests work with `noglobals`.