changed tests to include R version 3