Add simple testcase for the command-line utility