Added test for lifecycle-environment paths

please review it
thanks
This blank line could be removed