simplify R session
update tests