Disable GPS in EKF (EKF2_GPS_CTRL = 0) and fly position mode, you won’t even be able to arm if the OF does not work properly.
As an intermediate step, fly altitude mode (so the position is not used for control) and the check the log to see if the estimated local position matched the movement you did