Added a test for the begin EnvSimple function