Extending environment

All tests for extending the environment with the extend method pass