[SD-1240] Only empty stages can be deleted
[SD-1240] Only empty stages can be deleted - test improvements
Merge pull request #450 from akintolga/master

[SD-1240] Only empty stages can be deleted