CFY-203 improved a unit test
Merge remote-tracking branch 'origin/feature/CFY-203-add-delete-deployment-REST-API' into feature/CFY-203-add-delete-deployment-REST-API