debugged arduino.py and wrote test for test_ult.py