cmd/tests: Test success/failure of commands.