* fix: enhance environment variable management in collections slice * test: refactor deleteEnvVar test