Fixed var_equiv
Sample functional tests - make ftest