modify Test.scala, using as.String as the same way with as.Factor in R