Implement command-line test runner.