Add tests for keep deployments = 1