Engine: UI: Lifecycle Environments: updates as part of PR review

Updates based on PR feedback as well as other random cleanup.
Engine: UI: Lifecycle Environments: adding tests
Engine: test: regenerate vcr_cassettes

After adding several tests for environments, needed to regenerate
cassettes.