Automate deletion of Infrastructure and cloud objects

Added test for deletion of infrastructure and cloud objects
Why `str` here? If I guess correctly, you want to get rid of the `unicode`, that is done by `.encode("utf-8")`.