update tests
base now as data.frame
new calc_var function