fixed some test, get_digital_input, get_analog_output and get_digital_output