fixed add test for fvar matrix