Add tests for base path support in Env