How do I know if my hall-effect sensor is working correctly?
If you are using regular mechanical switches, each switch closure is generating several pulses due to contact bounce.

You should use some switches or FETs controlled by a computer or microprocessor to do this I think.