Do we really know if this plugin works? We don't.

You've just unit-tested AddEnviromentContext class.
What about functional test?