add a command testcase for testing custom commands