The test doesn't work in a closure where `undefined` is an argument / variable. It only works against the global `undefined` primitive.