This adds tests for setupEnv, and also updates some documentation to mirror the current state of plugins.