The inertia switch is just a normally-closed contact. It opens if it is shaken too hard.
What that means is that the two wires going to it are normally making contact, but if the vehicle rolls or whatever, the two wires stop making contact.
If you want to test the switch, unhook the wires...