Added environment delete test

please review it
thanks