fixed content env tests

- Changed the logic to create env as it was not right before
- updated locator to fix `test_positive_delete_content_environment_1` test.