Added test for lifecycle-environment paths

please review it
thanks