Code for running tests on Arduino/BBB etc.