Basically (correct me if I'm wrong) all the "Test" button does is connect a resistor between line side hot and load side neutral (or vice versa) to cause a small current to bypass the GFI which makes it trip.