Fix test fails related to switching to `console.warn` when informing the user of invalid cli params.