fix logic for not printing sensitive commands
fix tests
specs for cloudControl