Tests - adding tests for the Echo.Loader.initEnvironment function