cmd: Add testcases for goto.
2 files changed