What you need is a better test method.
The plug-in AC outlet testers are just an indication that an outlet is wired correctly. It is neither a complete test, not 100% accurate.
Part of your problem is that the outlet testers all use neon lamps to indicate what circuits are connected in what order. Neon lamps are designed for specific voltage levels. AC inverters and UPS systems do not output a normal sine wave, and the peak voltages are lower than they would be on a normal AC outlet or with a generator.
Basically, the tester as simple as it is is confused by the lower peak voltage.
One way to test your outlets is with an AC volt meter or DMM. Use caution as the probes, jacks and wires will have lethal voltage levels present.
Measure the AC voltage from Hot (narrow terminal) of the outlet to both neutral (wide terminal) and ground.
Both readings should be the same, and very likely will not be the 120 VAC you would measure on a home outlet.
Next, measure the voltage from Neutral to ground. The voltage should be zero.
It is possible that the inverter produces a fully isolated voltage and the AC voltage floats in relation to ground. You would need to check with the inverter manufacture to verify this.
A quick check would be with the inverter off and disconnected from the batteries, measure the resistance from Neutral to ground. It should read near zero for a proper line outlet. If you measure more than 10 ohms, I would check with the inverter manufacture and see if you are supposed to tie the Neutral and ground connections together.
If you want to be safe and protect your insurance on your RV, you should have your wiring inspected by an electrician.
If you were to have an electrical fire, not having a documented electrical inspection could void your insurance.
Chas