add test data
bug fixed: substring_index
enhance efficiency of Rcpp Class
apply faster API