Added test for lifecycle-environment paths

please review it
thanks
You can guess what formatting nitpick I'm thinking of. :wink: