rename lib/test to lib/tool