testing fvar functions