Fix reversed test trying to fix bug #5713