Improve deployment command class (Cmd): remove hardcoded name of a deployed resource and process all the deployed resources in the loop.

All the provided Unit-tests are green now.