1. Disconnect the negative battery cable.
2. Remove the washer tank. (See WASHER TANK REMOVAL/INSTALLATION)
3. Connect battery positive voltage to the terminal B and ground to the terminal A of the motor.
4. Verify that the rear washer motor operates.

Rear washer motor removal/installation
Rear wiper motor removal/installationMazda 6 Service Manual: Windshield wiper motor inspection
L.H.D.
1. Disconnect the windshield wiper motor connector.
2. Connect battery positive voltage to terminal E or D and ground to terminal
B, and inspect the operation of the windshield wiper motor as indicated below.
3. Disconnect battery positive voltage from terminal E of the motor while t ...
Mazda 6 Service Manual: Liftgate disassembly/assembly
1. Disconnect the negative battery cable.
2. Remove the liftgate lower trim.
3. To remove the liftgate outer handle and liftgate key cylinder, remove the
rear finisher.
4. To remove the stud ball, separate the stud ball and the stay damper.
5. Disassemble in the order indicated in the table.
...