Fixing JUnit testing for the R script engine