added nan tests to fvar