Add tests for keep deployments = 1
Merge pull request #3846 from pmorie/dev/test-coverage

Merged by openshift-bot