add a test tool to quickly verify the code.

Read testdata/README.md to see more information.
or just ignore it, go test will automatically do everything.

Change-Id: Ifb61691f4e179b26b334f9b30c4327b2655af864