Add test to check R connection