Add more tests for DeploymentsManager
Add tests for ReleasesManager