add tests for ensure_scalar_
add tests for ensure_scalar_

rstudio/sparklyr,kevinykuo/sparklyr,kevinykuo/sparklyr,kevinykuo/sparklyr,rstudio/sparklyr,kevinykuo/sparklyr,rstudio/sparklyr,rstudio/sparklyr