Testing a Hall Sensor with an internal pull-up resistor