Added test for lifecycle-environment paths

please review it
thanks
Missing assertion for the data, for example: on a update name test should be asserted that the name was really updated. As I have not completely understand the purpose of this test I'm not able to suggest the right assertion here.