CFY-643 add more unit and integration tests for delete-deployment; added more unit and integration tests for update node API