Add command-line test utility