[CB-7358] cli spec mocks console log to avoid polluting test output while testing