add lib_test tools