setup test framwork.
test cli.dispatch.