Mark some tests as @NeedsLocalEnvironment