Added environment delete test

please review it
thanks
Why not use `from factory import make_environment` ?