Moved R tests to src/test/R as discussed.