updated return values of test functions in R