initial test for sum using both Rcpp and Rcpp11