Arduino tests and codes