Simplify cmdt tests with params.
Fix failure integration test, error should result in exit code 1.
Upgrade deps to latest.