Adding coverage for EnvironmentContext.
Making all the example unit tests actually work and what not.
Merge branch 'codeSamples'