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: Registering Your Vehicle in A Foreign Country (Except United States and Canada)
Registering your vehicle in a foreign country may be problematic depending on
whether it meets the specific emission and safety standards of the country in which
the vehicle will be driven. Consequently, your vehicle may require modifications
at personal expense in order to meet the regulation ...
Mazda 6 Service Manual: No.2 air bag system warning light is illuminated all the time
Diagnostic Procedure
When performing an asterisked (*) troubleshooting inspection, shake the
wiring harness and connectors while doing the inspection to discover whether
poor contact points are the cause of any intermittent malfunction. If there
is a problem, check to make sure connec ...