Connect battery positive voltage to terminal A and ground to terminal B of the blower motor and verify its operation.

Blower motor removal/installation
Resistor removal/installationMazda 6 Service Manual: Generator removal/installation
Warning
When the battery cables are connected, touching the vehicle body with
generator terminal B will generate sparks. This can cause personal injury, fire,
and damage to the electrical components. Always disconnect the battery negative
cables before performing the following operation.
...
Mazda 6 Service Manual: Opening and Closing the Trunk Lid
Opening the trunk lid
Using the remote release button
Push the remote release button.
Using the electric trunk lid opener
(With the advanced keyless function)
A locked trunk lid can also be opened while the key is being carried.
Press the electric trunk lid opener on the trunk lid, then rais ...