Added test for lifecycle-environment paths

"Added test for lifecycle-environment paths"
Merge pull request #1420 from tkolhar/test_cli

Added test for lifecycle-environment paths