added some tests for Arduino functions