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: To Operate the System
The High Beam Control System (HBC) operates to switch the headlights automatically
between high and low beams after the ignition is switched ON and the headlight switch
is in the AUTO and high beam position.
The High Beam Control System (HBC) determines that it is dark based on the brightness
...
Mazda 6 Service Manual: Control valve body removal
On-Vehicle Removal
Warning
Using compressed air can cause dirt and other particles to fly
out, causing injury to the eyes. Wear protective eyes whenever using
compressed air.
Caution
Clean the transaxle exterior throughout with a steam cleaner or
cleaning solvents before removal ...