module does not set global, some tests pass