Automate deletion of Infrastructure and cloud objects

Added test for deletion of infrastructure and cloud objects
implemented as per above suggestion!