moved R tests