Fix env var subscription tests