Testcase for trace-cmd.