added basic system test with output logging
fixed error in leds function
fixed get_drive_output